package com.hava.contentsale.meta;

import com.hava.contentsale.utils.OutputObject;

/**
 * Created by yanfa on 2016/11/8.
 * 人员的默认持久化对象
 */
public class PersonPO extends OutputObject{

    long id;

    String userName;

    String password;

    String nickName;

    // 由于数据库初始化为tinyint(3)
    byte userType;

    // Getter and Setter

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public byte getUserType() {
        return userType;
    }

    public void setUserType(byte userType) {
        this.userType = userType;
    }
}
